package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ZzxxExaminationChoicequestion;

/**
 * 选择题外键表Mapper接口
 * 
 * @author ruoyi
 * @date 2022-06-20
 */
public interface ZzxxExaminationChoicequestionMapper 
{
    /**
     * 查询选择题外键表
     * 
     * @param examinationId 选择题外键表主键
     * @return 选择题外键表
     */
    public ZzxxExaminationChoicequestion selectZzxxExaminationChoicequestionByExaminationId(Long examinationId);

    /**
     * 查询选择题外键表列表
     * 
     * @param zzxxExaminationChoicequestion 选择题外键表
     * @return 选择题外键表集合
     */
    public List<ZzxxExaminationChoicequestion> selectZzxxExaminationChoicequestionList(ZzxxExaminationChoicequestion zzxxExaminationChoicequestion);

    /**
     * 新增选择题外键表
     * 
     * @param zzxxExaminationChoicequestion 选择题外键表
     * @return 结果
     */
    public int insertZzxxExaminationChoicequestion(ZzxxExaminationChoicequestion zzxxExaminationChoicequestion);

    /**
     * 修改选择题外键表
     * 
     * @param zzxxExaminationChoicequestion 选择题外键表
     * @return 结果
     */
    public int updateZzxxExaminationChoicequestion(ZzxxExaminationChoicequestion zzxxExaminationChoicequestion);

    /**
     * 删除选择题外键表
     * 
     * @param examinationId 选择题外键表主键
     * @return 结果
     */
    public int deleteZzxxExaminationChoicequestionByExaminationId(Long examinationId);

    /**
     * 批量删除选择题外键表
     * 
     * @param examinationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZzxxExaminationChoicequestionByExaminationIds(Long[] examinationIds);
}
